package com.xbongbong.pro.workorder.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author ly1666
 * @date 2019/3/20 下午7:06
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class WorkOrderPersonUserIdPojo {

    @NotNull(message = "员工id不可为空")
    private String userId;

    @NotNull(message = "员工名字不可为空")
    private String userName;

    public WorkOrderPersonUserIdPojo() {
        this.userId = "";
        this.userName = "";
    }
}
